import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PlatformController } from './platform.controller';
import { Platform } from './platform.entity';
import { PlatformService } from './platform.service';
import { User } from '../user/user.entity';
import { UserService } from '../user/user.service';
import { PlatformControllerBackground } from './platform.controller.background';
import { InternetCelebrity } from '../internetCelebrity/internetCelebrity.entity';
import { InternetCelebrityGroup } from '../internetCelebrityGroup/internetCelebrityGroup.entity';
import { UserSetting } from '../userSetting/userSetting.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Platform, User, InternetCelebrity, InternetCelebrityGroup, UserSetting, InternetCelebrityGroup])],
  controllers: [PlatformController, PlatformControllerBackground],
  providers: [PlatformService,UserService],
})
export class PlatformModule {}
